<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件列表</title>
    <script src="js/lib/jquery.min.js"></script>
    <link rel="stylesheet" href="./js/lib/ztree_3.5.47/css/zTreeStyle/zTreeStyle.css" type="text/css">
    <script src="js/lib/ztree_3.5.47/js/jquery.ztree.all.min.js"></script>
    <link rel="stylesheet" href="./css/gofile.css" type="text/css">
    <script src="js/callback.js"></script>
    <script src="js/context.js"></script>
    <script src="js/gofile.js"></script>
</head>
<body>
<div id="rMenu">
    <div class="menu_item" id="m_add" onclick="copyUrlClk();">查看url</div>
    <div class="menu_item" id="m_download" onclick="downloadUrlClk();">下载</div>
    <div class="menu_item" id="m_del" onclick="delUrlClk();">删除</div>
    <div class="menu_item" id="m_create_dir" onclick="createDirClk();">创建目录</div>
</div>
<div class="my_dialog_mask" id="createDirDlg">
    <div class="my_dialog">
        <div class="my_dialog_title">创建目录</div>
        <div class="my_dialog_body">
            <label>目录名:<input name="dirName" id="dirName"/></label>
        </div>
        <div class="my_dialog_footer">
            <button onclick="createDirOKClk()">确定</button>
            <button onclick="closeCreateDirDlg()">取消</button>
        </div>
    </div>
</div>
<div class="container">
    <div class="header">
        <div class="my_title">***谨慎删除***</div>
    </div>
    <div id="content">
        <div id="c_left">
            <ul id="treeDemo" class="ztree"></ul>
        </div>
        <div id="c_main">
            <table class="mytable">
                <tr>
                    <td style="width: 100px"><label>名称:</label></td>
                    <td><span id="fname"></span></td>
                </tr>
                <tr>
                    <td><label>大小:</label></td>
                    <td><span id="fsize"></span></td>
                </tr>
                <tr>
                    <td><label>url:</label></td>
                    <td><span id="furl"></span></td>
                </tr>
            </table>
            <div style="background: #aaaaaa;margin-top: 10px">
                <form action="/gofile/upload" enctype="multipart/form-data" method="post" id="ff">
                    <input type="file" name="file"/>
                    <input type="hidden" name="name">
                    <input type="hidden" name="path">
                    <button type="button" onclick="uploadBtnClk()">上传</button>
                </form>
            </div>
        </div>
    </div>
</div>


</body>
</html>
